package com.demdevdudes.disch;

import com.badlogic.gdx.Application;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.demdevdudes.disch.handler.GameStateHandler;
import com.demdevdudes.disch.handler.InputHandler;
import com.demdevdudes.disch.screen.GameScreen;

public class DischGame extends Game {
	
	GameStateHandler gameStateHandler;	
	GameScreen gameScreen;
	
	public DischGame() {
		
	}
	
	@Override
	public void create () {
		Gdx.app.setLogLevel(Application.LOG_DEBUG);
		gameScreen = new GameScreen();
		gameStateHandler = new GameStateHandler(gameScreen.getCamera());		
		setScreen(gameScreen);
		Gdx.input.setInputProcessor(new InputHandler(gameStateHandler));
	}
	
    @Override
    public void dispose() {
        super.dispose();
    }
    
}
